package com.scuec.tourismwebsite.service;

import com.github.pagehelper.PageInfo;
import com.scuec.tourismwebsite.entity.Admin;

import java.util.List;

public interface AdminService {
    List<Admin> findAdminAll();
    List<Admin> findAdminByEm(String email);
    int deleteAdminById(int admin_id);
    Integer addAdmin(Admin admin);
    Admin findAdminByEmail(String email);
    PageInfo<Admin> findAdminPages(Integer pageNum, Integer pageSize);
    PageInfo<Admin> findAdminPage(String nickname, Integer pageNum, Integer pageSize);
}


